Angular 2 Cookbook - Second Edition

Angular 2 Cookbook - Second Edition

作者: Matt Frisbie
出版社: Packt Publishing
出版在: 2017-01-23
ISBN-13: 9781785881923
ISBN-10: 1785881922
裝訂格式: Paperback
總頁數: 464 頁





內容描述


About This Book

From the author of the bestselling AngularJS Web Application Development Cookbook, Angular 2 Cookbook is the newest edition of Packt's Angular cookbook series.

Book Features    

70+ extensive examples: Each recipe provides you with strategies to face every challenge in Angular 2 head on
All code from the latest version: Covers no legacy material from the outdated Angular release candidates; all code up-to-date with the latest release of Angular 2.4
Webpack application organization: Includes instructions on how to build applications with Webpack, SystemJS, and Angular CLI
Companion website links: Each recipe provides a unique URL on the book's companion website; the page includes links to a working example on Plunker, the recipe's source code on GitHub, and various related resources. The companion website has no login, and is free to use.
Immediately experiment with working code: Almost every recipe in the book has a link on the companion site to a working Plunker. Visit the link and start experimenting with Angular 2 right away - no setup or installation required.
Step-by-step examples: All the code in the book is explicitly written out, and every piece of code shown is a step towards building a simple working example. Syntax, design decisions, and refactoring are all fully explained in each recipe.

 

Major Topics Covered In Depth:

       

Upgrading from Angular 1 to Angular 2
Components
Directives
Template-Driven Forms
Reactive Forms
Promises
RxJS Observables
Angular 2 Component Router
Services
Dependency Injection
Angular 2 Modules with NgModule
TypeScript Setup and Compilation
SystemJS Application Setup
Webpack Application Setup
Angular CLI Application Setup
Unit Testing with Karma and Jasmine
End-to-End Testing with Protractor
NgZone
Angular 2 Renderer
Ahead-of-Time (AOT) Compilation
Lazy Loaded Applications

 

Who This Book Is For

This book is for developers who are competent with JavaScript and are looking to dive headfirst into the TypeScript edition of Angular 2. This book is also geared towards developers with experience in Angular 1 who are looking to make the transition.

In Detail

Angular 2 introduces an entirely new way to build applications. It wholly embraces all the newest concepts that are built into the next generation of browsers, and it cuts away all the fat and bloat from Angular 1. This book plunges directly into the heart of all the most important Angular 2 concepts for you to conquer. In addition to covering all the Angular 2 fundamentals, such as components, forms, and services, it demonstrates how the framework embraces a range of new web technologies such as ES6 and TypeScript syntax, Promises, Observables, and Web Workers, among many others.

This book covers all the most complicated Angular concepts and at the same time introduces the best practices with which to wield these powerful tools. It also covers in detail all the concepts you'll need to get you building applications faster. Oft-neglected topics such as testing and performance optimization are widely covered as well. A developer that reads through all the content in this book will have a broad and deep understanding of all the major topics in the Angular 2 universe.

Style and approach

This book follows a cookbook approach--each recipe presents a unique problem to which the solution is presented in a clear, concise, and manner step-by-step manner. With practical hands-on guidance in each and every recipe, you'll be able to get to grips with the concepts.




相關書籍

Sams Teach Yourself Bootstrap in 24 Hours (Paperback)

作者 Jennifer Kyrnin

2017-01-23

Internet of Things Programming with JavaScript

作者 Ruben Oliva Ramos

2017-01-23

多接入邊緣計算實戰

作者 Dario Sabella Alex Reznik Rui Frazao 李楠 張丹

2017-01-23